package p270jp.pxv.android.model.point;

import android.support.p024v4.media.C0261e;
import p056bp.ZonedDateTime;
import p325m0.MutabilityOwnership;

/* compiled from: PpointGain.kt */
/* renamed from: jp.pxv.android.model.point.PpointGain */
/* loaded from: classes2.dex */
public final class PpointGain {
    public static final int $stable = 8;
    private final long amount;
    private final ZonedDateTime createdDatetime;
    private final PpointPaymentMethod paymentMethod;
    private final PpointService service;

    public PpointGain(long j, ZonedDateTime uVar, PpointPaymentMethod ppointPaymentMethod, PpointService ppointService) {
        MutabilityOwnership.m3745m(uVar, "createdDatetime");
        MutabilityOwnership.m3745m(ppointPaymentMethod, "paymentMethod");
        MutabilityOwnership.m3745m(ppointService, "service");
        this.amount = j;
        this.createdDatetime = uVar;
        this.paymentMethod = ppointPaymentMethod;
        this.service = ppointService;
    }

    public static /* synthetic */ PpointGain copy$default(PpointGain ppointGain, long j, ZonedDateTime uVar, PpointPaymentMethod ppointPaymentMethod, PpointService ppointService, int i, Object obj) {
        if ((i & 1) != 0) {
            j = ppointGain.amount;
        }
        if ((i & 2) != 0) {
            uVar = ppointGain.createdDatetime;
        }
        if ((i & 4) != 0) {
            ppointPaymentMethod = ppointGain.paymentMethod;
        }
        if ((i & 8) != 0) {
            ppointService = ppointGain.service;
        }
        return ppointGain.copy(j, uVar, ppointPaymentMethod, ppointService);
    }

    public final long component1() {
        return this.amount;
    }

    public final ZonedDateTime component2() {
        return this.createdDatetime;
    }

    public final PpointPaymentMethod component3() {
        return this.paymentMethod;
    }

    public final PpointService component4() {
        return this.service;
    }

    public final PpointGain copy(long j, ZonedDateTime uVar, PpointPaymentMethod ppointPaymentMethod, PpointService ppointService) {
        MutabilityOwnership.m3745m(uVar, "createdDatetime");
        MutabilityOwnership.m3745m(ppointPaymentMethod, "paymentMethod");
        MutabilityOwnership.m3745m(ppointService, "service");
        return new PpointGain(j, uVar, ppointPaymentMethod, ppointService);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof PpointGain)) {
            return false;
        }
        PpointGain ppointGain = (PpointGain) obj;
        return this.amount == ppointGain.amount && MutabilityOwnership.m3749h(this.createdDatetime, ppointGain.createdDatetime) && MutabilityOwnership.m3749h(this.paymentMethod, ppointGain.paymentMethod) && MutabilityOwnership.m3749h(this.service, ppointGain.service);
    }

    public final long getAmount() {
        return this.amount;
    }

    public final ZonedDateTime getCreatedDatetime() {
        return this.createdDatetime;
    }

    public final PpointPaymentMethod getPaymentMethod() {
        return this.paymentMethod;
    }

    public final PpointService getService() {
        return this.service;
    }

    public int hashCode() {
        long j = this.amount;
        int hashCode = this.createdDatetime.hashCode();
        int hashCode2 = this.paymentMethod.hashCode();
        return this.service.hashCode() + ((hashCode2 + ((hashCode + (((int) (j ^ (j >>> 32))) * 31)) * 31)) * 31);
    }

    public String toString() {
        StringBuilder c = C0261e.m12042c("PpointGain(amount=");
        c.append(this.amount);
        c.append(", createdDatetime=");
        c.append(this.createdDatetime);
        c.append(", paymentMethod=");
        c.append(this.paymentMethod);
        c.append(", service=");
        c.append(this.service);
        c.append(')');
        return c.toString();
    }
}
